<?php

namespace app\admin\controller;

use think\Controller;

class Goods extends Controller
{

    /**
     *  分页
     */

    public function show()
    {

        return view('show');
    }


    /**
     * 添加
     */

    public function add()
    {
        $data = model('GoodsType')->getAll();
        return view('add',['data'=>$data]);
    }
}
